package com.hotel.service.Impl;

import com.hotel.dao.OrderDetailDao;
import com.hotel.factory.BeanFactory;
import com.hotel.service.OrderDetailService;

import java.util.List;
import java.util.Map;

/**
 * Created by LinYaTing on 2018/11/28 12:00
 */
public class OrderDetailServiceImpl implements OrderDetailService {

    private OrderDetailDao orderDetailDao = BeanFactory.getInstance("orderDetailDao", OrderDetailDao.class);

    @Override
    public List<Map<String, Object>> findAll(Integer id) {
        return orderDetailDao.findAll(id);
    }
}
